Use real-last-command instead of last-command
authorjustbur <justin@burkett.cc>
Wed, 22 Jul 2015 12:29:22 +0000 (08:29 -0400)
committerjustbur <justin@burkett.cc>
Wed, 22 Jul 2015 12:29:22 +0000 (08:29 -0400)
for which-key-show-next-page

which-key.el

index e128302dcf87f637f78874cc2c427fbc717d6408..ac2eaa62b45cabb1b9b8c3c5ceacd5672b36378e 100644 (file)
@@ -984,7 +984,7 @@ enough space based on your settings and frame size." prefix-keys)
       (setq timer
             (run-with-idle-timer 0.1 t
              (lambda ()
-               (when (not (eq last-command 'which-key-show-next-page))
+               (unless (eq real-last-command 'which-key-show-next-page)
                  (cancel-timer timer)
                  (which-key--start-timer))))))))